#include <assert.h>

#include <CompileVisitor.h>

#include "AstNodeForStatement.h"

AstNodeForStatement::AstNodeForStatement(
        AstNode *                   startNode,
        AstNodeBooleanOperator *    cond,
        AstNode *                   nextNode,
        AstNode *                   body)
{
  this->startNode=startNode;
  this->cond=cond;
  this->nextNode=nextNode;
  this->body=body;
}

void AstNodeForStatement::compile(CompileVisitor * visitor)
{
  visitor->compile(this);
}


void AstNodeForStatement::dump(int level)
{
  assert(0 && "No more supported");
}

